﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace _003文字打怪游戏
{
    class Program
    {
        static void Main(string[] args)
        {
            Player player = new Player("王小二",50,3,2,"手枪");
            Zombie z = new Zombie("丧尸", 80, 5, 3, "用嘴咬");
            player.Attack(z);
            z.PrintCharacterAttr();
            z.Attack(player);
            player.PrintCharacterAttr();//调用自己类中的重写方法


        }
    }
}
